package entites;

import org.primefaces.model.DefaultTreeNode;
import org.primefaces.model.TreeNode;

public class EspacePerso {
	private TreeNode root;
	private TreeNode selectedNode;
	private String selectedFile = new String();
	
	public EspacePerso() {
		root = new DefaultTreeNode("Root", null);
	}
	
	public TreeNode getRoot() {
		return root;
	}

	public void setRoot(TreeNode root) {
		this.root = root;
	}

	public String getSelectedFile() {
		return selectedFile;
	}

	public void setSelectedFile(String selectedFile) {
		this.selectedFile = selectedFile;
	}

	public TreeNode getSelectedNode() {
		return selectedNode;
	}

	public void setSelectedNode(TreeNode selectedNode) {
		this.selectedNode = selectedNode;
	}
}
